local renwang = fk.CreateSkill{
    name = "ym2__renwang",
    tags = {Skill.Lord}
}
Fk:loadTranslationTable{
    ["ym2__renwang"] = "仁望",
    [":ym2__renwang"] = "主公技，【内奸】获得【忠臣】的胜利条件。",
}
renwang:addAcquireEffect(function (self, player, is_start)
    player.room:setBanner(renwang.name,1)
end)
renwang:addLoseEffect(function (self, player, is_death)
    player.room:setBanner(renwang.name,0)
end)
renwang:addEffect(fk.GameOverJudge,{
    can_refresh = function (self, event, target, player, data)
        local room = player.room
        return (room:isGameMode("role_mode") or room:isGameMode("draft"))and room:getBanner(renwang.name) == 1 and table.every(room.alive_players,function (cp)
            return cp.role ~= "rebel"
        end)
    end,
    on_refresh = function (self, event, target, player, data)
        player.room:gameOver("lord+loyalist+renegade+civilian")
    end,
})
return renwang